Optimal. Leaf size=61 \[ 2 a^2 A \sqrt {x}+\frac {2}{5} a (2 A b+a B) x^{5/2}+\frac {2}{9} b (A b+2 a B) x^{9/2}+\frac {2}{13} b^2 B x^{13/2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {459}
\begin {gather*} 2 a^2 A \sqrt {x}+\frac {2}{9} b x^{9/2} (2 a B+A b)+\frac {2}{5} a x^{5/2} (a B+2 A b)+\frac {2}{13} b^2 B x^{13/2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 459
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2\right )^2 \left (A+B x^2\right )}{\sqrt {x}} \, dx &=\int \left (\frac {a^2 A}{\sqrt {x}}+a (2 A b+a B) x^{3/2}+b (A b+2 a B) x^{7/2}+b^2 B x^{11/2}\right ) \, dx\\ &=2 a^2 A \sqrt {x}+\frac {2}{5} a (2 A b+a B) x^{5/2}+\frac {2}{9} b (A b+2 a B) x^{9/2}+\frac {2}{13} b^2 B x^{13/2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 59, normalized size = 0.97 \begin {gather*} \frac {2}{585} \sqrt {x} \left (117 a^2 \left (5 A+B x^2\right )+26 a b x^2 \left (9 A+5 B x^2\right )+5 b^2 x^4 \left (13 A+9 B x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 52, normalized size = 0.85
method | result | size |
derivativedivides | \(\frac {2 b^{2} B \,x^{\frac {13}{2}}}{13}+\frac {2 \left (b^{2} A +2 a b B \right ) x^{\frac {9}{2}}}{9}+\frac {2 \left (2 a b A +a^{2} B \right ) x^{\frac {5}{2}}}{5}+2 a^{2} A \sqrt {x}\) | \(52\) |
default | \(\frac {2 b^{2} B \,x^{\frac {13}{2}}}{13}+\frac {2 \left (b^{2} A +2 a b B \right ) x^{\frac {9}{2}}}{9}+\frac {2 \left (2 a b A +a^{2} B \right ) x^{\frac {5}{2}}}{5}+2 a^{2} A \sqrt {x}\) | \(52\) |
trager | \(\left (\frac {2}{13} b^{2} B \,x^{6}+\frac {2}{9} A \,b^{2} x^{4}+\frac {4}{9} B a b \,x^{4}+\frac {4}{5} a A b \,x^{2}+\frac {2}{5} B \,a^{2} x^{2}+2 a^{2} A \right ) \sqrt {x}\) | \(55\) |
gosper | \(\frac {2 \sqrt {x}\, \left (45 b^{2} B \,x^{6}+65 A \,b^{2} x^{4}+130 B a b \,x^{4}+234 a A b \,x^{2}+117 B \,a^{2} x^{2}+585 a^{2} A \right )}{585}\) | \(56\) |
risch | \(\frac {2 \sqrt {x}\, \left (45 b^{2} B \,x^{6}+65 A \,b^{2} x^{4}+130 B a b \,x^{4}+234 a A b \,x^{2}+117 B \,a^{2} x^{2}+585 a^{2} A \right )}{585}\) | \(56\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 51, normalized size = 0.84 \begin {gather*} \frac {2}{13} \, B b^{2} x^{\frac {13}{2}} + \frac {2}{9} \, {\left (2 \, B a b + A b^{2}\right )} x^{\frac {9}{2}} + 2 \, A a^{2} \sqrt {x} + \frac {2}{5} \, {\left (B a^{2} + 2 \, A a b\right )} x^{\frac {5}{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.67, size = 53, normalized size = 0.87 \begin {gather*} \frac {2}{585} \, {\left (45 \, B b^{2} x^{6} + 65 \, {\left (2 \, B a b + A b^{2}\right )} x^{4} + 585 \, A a^{2} + 117 \, {\left (B a^{2} + 2 \, A a b\right )} x^{2}\right )} \sqrt {x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.30, size = 78, normalized size = 1.28 \begin {gather*} 2 A a^{2} \sqrt {x} + \frac {4 A a b x^{\frac {5}{2}}}{5} + \frac {2 A b^{2} x^{\frac {9}{2}}}{9} + \frac {2 B a^{2} x^{\frac {5}{2}}}{5} + \frac {4 B a b x^{\frac {9}{2}}}{9} + \frac {2 B b^{2} x^{\frac {13}{2}}}{13} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.20, size = 53, normalized size = 0.87 \begin {gather*} \frac {2}{13} \, B b^{2} x^{\frac {13}{2}} + \frac {4}{9} \, B a b x^{\frac {9}{2}} + \frac {2}{9} \, A b^{2} x^{\frac {9}{2}} + \frac {2}{5} \, B a^{2} x^{\frac {5}{2}} + \frac {4}{5} \, A a b x^{\frac {5}{2}} + 2 \, A a^{2} \sqrt {x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.02, size = 51, normalized size = 0.84 \begin {gather*} x^{5/2}\,\left (\frac {2\,B\,a^2}{5}+\frac {4\,A\,b\,a}{5}\right )+x^{9/2}\,\left (\frac {2\,A\,b^2}{9}+\frac {4\,B\,a\,b}{9}\right )+2\,A\,a^2\,\sqrt {x}+\frac {2\,B\,b^2\,x^{13/2}}{13} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________